<template>
  <div class="col-xs-offset-2 col-xs-8">
    <div class="page-header">
      <h2>Vue Router Demo</h2>
      <button @click='backRouter'>后退</button>&nbsp;&nbsp;
      <button @click='forwardRouter'>前进</button>
    </div>
  </div>
</template>

<script>
export default {
  name:'Banner',
  methods: {
    backRouter() {
      this.$router.back()
    },
    forwardRouter() {
      this.$router.forward()
    }
  },
}
</script>